<extend name="common:commonTemplate" />


<block name="main_content">

			<div class="main-content">
				<div class="breadcrumbs" id="breadcrumbs">
					<ul class="breadcrumb">
						<li>
							<i class="icon-home home-icon"></i>
							<a href="#">首页</a>

							<span class="divider">
								<i class="icon-angle-right arrow-icon"></i>
							</span>
						</li>
						<li class="active">发票管理</li>
					</ul><!--.breadcrumb-->

					
				</div>

				<div class="page-content">
					<div class="page-header position-relative">
						<h1>
							发票管理
							<small>
								<i class="icon-double-angle-right"></i>
								获取电子/纸质发票
							</small>
						</h1>
					</div><!--/.page-header-->

					<div class="row-fluid">
						<div class="widget-box transparent">
							<div class="widget-header widget-header-flat" style="margin-left:18%;width:70%;">
								<h4 class="lighter">
									<i class="icon-star orange"></i>
									搜索条件
								</h4>
							</div>
							<table>
							<tr>
							<td>
							<div class="widget-body">
								<div class="widget-main">
									<div class="span12">
										<div class="form-horizontal">
											<div class="control-group">
												<div class="controls" style="margin-left:10px;">
													<table>
														<tr>
														<td>
														<span class="help-inline">
															<label class="control-label" style="margin-right:10px;">原始订单编号</label>
															 <textarea id='thirdOrderIds' rows="3" cols="20" placeholder="逗号分隔可以批量查询"></textarea>
															<span class="help-inline">(淘宝、京东等第三方订单编号)</span>
														</span>
														</td>
														</tr>
														<tr>
														  <td>
													<span class="help-inline">
															<label class="control-label" style="margin-right:10px;">下单时间</label>
															<input id="orderStartDate" class="laydate-icon" onclick="laydate()" readonly> -
															<input id="orderEndDate" onclick="laydate()" class="laydate-icon" readonly>
														</span>
														      </td>
														
														</tr>
														<tr style="height:40px;">
														<td>
														<span class="help-inline">
														<label class="control-label" style="margin-right:10px;">发票状态</label>
																<input value="未开票、冲红完成" readonly/> 
														</span>
														</td>
														<td>
	 
														</td>
														</tr>
														
														<tr style="height: 40px;">
															<td><span class="help-inline"> <label
																	class="control-label" style="margin-right: 10px;">是否返现导入</label>
																	<select id="cash_back_status" >
																		<option value="">全部</option>
																		<option value="0">未导入</option>
																		<option value="1">导入
																		</option>
																</select>
															</span></td>

														</tr>
														
														<tr style="height: 40px;">
															<td><span class="help-inline"> <label
																	class="control-label" style="margin-right: 10px;">订单类型</label>
																	<select id="orderType" >
																		<option value="">-----全部-----</option>
																		<option value="1">天猫</option>
																		<option value="2">京东</option>
																		<option value="3">官网</option>
																		<option value="5">英雄会</option>
																		<option value="6">村淘</option>
																		<option value="7">天猫企业采购</option>
																</select>
															</span></td>
															
														</tr>
														
														<tr style="height: 40px;">
																													
														<td><span class="help-inline"> <label
																	class="control-label" style="margin-right: 10px;">存在留言(买家或卖家)</label>
																<input type="checkbox" name='buyer_message' id='buyer_message' style="position:relative;width: 50px; opacity: 100;">	 
															</span></td>
															<td>
															</td>
														</tr>
													</table>
													
												</div>
											</div>
											
											
											
										</div>
									</div>
									
									
								</div>
								
								
							</div>
							<!--/widget-body-->
							</td>
							<td>
								<div style="text-align: right; padding-right:45%;">
									<button style="width: 100px; height: 100px; font-size: 30px;" class="btn btn-primary" id="btnSubmit" > 搜索 </button>
								</div>
							</td>
							</tr>
							</table>
							
							<div style="margin-left: 220px; width: 70%; color: red;" class="widget-header widget-header-flat">
								用于开电子发票与纸质发票使用。
							</div>
						</div>
					</div><!--/.row-fluid-->
					
					<div class="row-fluid">
						<h3 style="line-height:45px;" class="header smaller lighter blue">搜索结果
							<span style="float: right; margin-right: 20px;">
								<button id="paperInvoice"  class="btn btn-primary" style="width:60px;height:40px;font-size:10px;">纸质普票</button>
							 	<button id="specialPaperInvoice" style="width:80px;height:40px;font-size:10px;" class="btn btn-primary" id="paperInvoice">纸质专票</button>
								<button id='electronicInvoice' value='电子' class="btn btn-primary" style="width:60px;height:40px;font-size: 10px;">电子</button>
						  </span>
						</h3>
						<div class="table-header">
							搜索结果来自于搜索条件
						</div>
						<div>
						<table id="tbl_order_info" class="table table-striped table-bordered table-hover" >
							<thead>
								<tr>
								    <th><input type='checkbox' id='allCheck' style="position:relative;width: 50px; opacity: 100;"></th>
								    <th>订单编号</th>
									<th>订单类型</th>
									<th>买家支付宝号</th>
									<th>买家昵称</th>
									<th>买家留言</th>
									<th>卖家留言</th>
									<th>发票名称</th>
									<th>发票金额</th>
									<th>收货人姓名</th>
									<th>商品总金额</th>
									<th>应付金额</th>
									<th>运费</th>
									<th>订单优惠金额</th>
									<th>订单总金额</th>
									<th>公司实际收入金额</th>
									<th>订单创建时间</th>
									<th>返现是否导入</th>
								</tr>
							</thead>

							<tbody>
							   <tr>
							      <td colspan='17'>无</td>
							   </tr>
							</tbody>
						</table>
						</div>
					</div>
					<div id='div_pageInfo' class="row-fluid">
						<ul class="pager">
							<li>
								<a href="#">首页</a>
							</li>
							<li>
								<a href="#">← 上一页</a>
							</li>
							<li>
								<a href="#">下一页 →</a>
							</li>
							<li>
								<a href="#">尾页</a>
							</li>
							<li>
								共0条 共0页 到<input type="number" style="width:50px;">页
							</li>
						</ul>
					</div>
					
				</div><!--/.page-content-->

				
			</div><!--/.main-content-->
		

</block>


<block name="inner_script">
<script src="../../../Public/assets/js/ace-elements.min.js"></script>
		<script src="../../../Public/assets/js/ace.min.js"></script>
		<script src="../../../Public/js/laydate/laydate.js"></script>
		<script src="/Public/js/ajaxService.js"></script>
		<script src="/Public/js/project/common.js"></script>
		<script src="../../../Public/js/invoice.js"></script>
		
</block>


